import { to, http } from './api'

export const homeTable = function (params) {
    return to(http("/homeTable/homeTable.json", params, 'get'))
}

export const homeTable2 = function (params) {
    return to(http("/homeTable/homeTable2.json", params, 'get'))
}

export const aboutTreeData = params => to(http("/aboutTree/aboutTree.json", params, 'get'))
export const aboutTreeData1 = params => to(http("/aboutTree/aboutTree1.json", params, 'get'))

export const echartsData = params => to(http("/echartsData/echarts.json", params, 'get'))
export const echartsData1 = params => to(http("/echartsData/echarts1.json", params, 'get'))
export const echartsData2 = params => to(http("/echartsData/echarts2.json", params, 'get'))